//package com.base.test;
//
//import com.alibaba.fastjson.JSONObject;
//import org.apache.pdfbox.pdmodel.PDDocument;
//import org.apache.pdfbox.rendering.PDFRenderer;
//
//import javax.imageio.ImageIO;
//import javax.imageio.ImageWriter;
//import javax.imageio.stream.ImageOutputStream;
//import java.awt.*;
//import java.awt.image.BufferedImage;
//import java.io.ByteArrayInputStream;
//import java.io.ByteArrayOutputStream;
//import java.io.File;
//import java.io.IOException;
//import java.nio.charset.StandardCharsets;
//import java.util.Base64;
//import java.util.Iterator;
//
//public class PDFToImageUtil {
//
//
//    public static void main(String[] args) throws IOException {
////        String filePath = "E:/pdf";
////        String fileName = "rc-upload-1689327696019-10提货委托书通用模板.pdf";
////        String newFileName = PDFToImage(filePath, fileName);
////        clearWaterMark(filePath, newFileName);
////        String base64Str = convertImageToBase64Str(filePath + "/" + newFileName);
////
//        String base = "object_type=general_v5&disp_line_poly=true&type=st_ocrapi&languagetype=CHN_ENG&eng_granularity=word&imgDirection=setImgDirFlag&image=";
//
//        String resBody = "{\"err_no\":0,\"err_msg\":\"SERVER_SUCCESS\",\"result\":\"eyJsb2dpZCI6IiIsImVycl9ubyI6LTE0MDAsImVycl9tc2ciOiJJTlBVVF9KU09OX0VSUk9SX1BBUlNFX0VSUk9SIiwicXVlcnlzaWduIjoiIiwiaW1hZ2VfaW5mbyI6eyJpbWFnZV9kaXIiOjAsImxhbmdfdHlwZV9tYXAiOltdfSwicmV0IjpbXSwicGFyYWdyYXBocyI6W119\",\"calc_time_ms\":3,\"wait_time_ms\":3}";
//        JSONObject jsonObject = JSONObject.parseObject(resBody);
//        String result = jsonObject.getString("result");
//        String str = decode(result);
//
////        String encodeToBase64 = encode(base);
////        System.out.println(encodeToBase64);
//
//
//        String fileStr = "iVBORw0KGgoAAAANSUhEUgAAFH8AAByPCAIAAADiHNKuAACAAElEQVR42uy9hbryvNa2PR1nuru7u7u7Pc9a6/3+/d8HpPyDBkKINTUozIwjx7y5oU3TNBmR5szVYATActq0aQu8BaGma3+l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py8uLg4MDHR0dEA8yEdBv6u9vb27u7uzs5OSxYb/wsHz8/N7e3u3t7dfX1+Wlzg/P5+cnIT4IZEoE+BGUR8TQktLW1MTuL6WxgZwjKGW5ggSvoajzJ5xCHr10HXf2tyHwYX6ff18//fo8ByGAJ2dfdDPh6gaG9ugzx9qi8eiHfFYfvcl+JwfCDSF4bro0pCjiURXX+8wjCCmpxZg7LCyvAlhdWULhio724cwcrm9edIK2G5NgF4j+jofMrmA0NeSNV4qrwbYGCyXgrHX9fvtg+VdUws+gklfswA2uZaCWsHgOeNaAdP0tRvD62+olUgUnEwpEvvNHVHP1I99AWydyKWva+L5BqF64sqiQl/bYrRsJaOS7shZ+smibucsGgEi5dmt6GuHFZmkr+Gvpq/Zfpwn9HUqnae2vFo/J1onzVtvDZ+zZhoQOG0QJDYdzAOy0odViocbG/UrGRuFHXIBWjEWXmX0Ovdn6GuCryaRZlr+Gp61QsoNEtgm4ywWnpLnsaV9zaZT09cVaw2pbpti90+90UzZfxwUJu01fW3Ig6XbpPynZYSavi5VZ+R88uvd0VDXB/q6wHPkEIFRFkgMu1L0tWWbTp4lwaVUFLBFVxGlk9K+zvmmSWurIyT5tSboa1JInH0czlLlkr";
//        //String decode = decode(fileStr);
//
//        String f = "object_type=general_v5&disp_line_poly=true&type=st_ocrapi&languagetype=CHN_ENG&eng_granularity=word&imgDirection=setImgDirFlag&image=iVBORw0KGgoAAAANSUhEUgAAFH8AAByPCAIAAADiHNKuAACAAElEQVR42uy9hbryvNa2PR1nuru7u7u7Pc9a6/3+/d8HpPyDBkKINTUozIwjx7y5oU3TNBmR5szVYATActq0aQu8BaGma3+lTZs2bdq0uWlGM5lMOp3OZrPovzpPtHliry8/N9fP11dPjw8fb6+/P9//Jzn4++t/cAwceXvzcn52d3J8fXF+D9/ILwEHwCXgSAhXl4/w9+z09ujwcmvzcHFhY3JiYXBgoqd7uLdnZHRkZn5ubW11d2f7eH/vbHfnBD7Pza7CAbFoV3NTtKEh1NDQBn+bmiKh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0pCjiURXX+8wjCCmpxZg7LCyvAlhdWULhio724cwcrm9edIK2G5NgF4j+jofMrmA0NeSNV4qrwbYGCyXgrHX9fvtg+VdUws+gklfswA2uZaCWsHgOeNaAdP0tRvD62+olUgUnEwpEvvNHVHP1I99AWydyKWva+L5BqF64sqiQl/bYrRsJaOS7shZ+smibucsGgEi5dmt6GuHFZmkr+Gvpq/Zfpwn9HUqnae2vFo/J1onzVtvDZ+zZhoQOG0QJDYdzAOy0odViocbG/UrGRuFHXIBWjEWXmX0Ovdn6GuCryaRZlr+Gp61QsoNEtgm4ywWnpLnsaV9zaZT09cVaw2pbpti90+90UzZfxwUJu01fW3Ig6XbpPynZYSavi5VZ+R88uvd0VDXB/q6wHPkEIFRFkgMu1L0tWWbTp4lwaVUFLBFVxGlk9K+zvmmSWurIyT5tSboa1JInH0czlLlkr";
//
//         convertBase64StrToImage(fileStr,"E:/pdf/t1.png");
//
//        //System.out.println(decode);
//
//    }
//
//
//    public static String PDFToImage(String filePath, String fileName) throws IOException {
//        File file = new File(filePath , fileName);
//        if (!file.exists()) {
//            return "";
//        }
//        String newFileName = null;
//        // 加载PDF文件
//        PDDocument document = PDDocument.load(file);
//        // 创建PDF渲染器
//        PDFRenderer pdfRenderer = new PDFRenderer(document);
//        // 渲染第一页为图像
//        BufferedImage image = pdfRenderer.renderImageWithDPI(0, 200);
//        // 保存图像为文件
//        newFileName = fileName.replace(".pdf",".png");
//        ImageIO.write(image, "PNG", new File(filePath , newFileName));
//        // 关闭PDF文档
//        document.close();
//        return newFileName;
//    }
//
//
//    public static void clearWaterMark(String filePath,String fileName) throws IOException {
//        BufferedImage bi = ImageIO.read(new File(filePath , fileName));
//        //水印替换成白色
//        Color disColor = new Color(255, 255, 255);
//        for (int i = 0; i < bi.getWidth(); i++) {
//            for (int j = 0; j < bi.getHeight(); j++) {
//                int color = bi.getRGB(i, j);
//                Color oriColor = new Color(color);
//                int red = oriColor.getRed();
//                int greed = oriColor.getGreen();
//                int blue = oriColor.getBlue();
//                if (red>= 250 && greed >= 250 && blue >= 250) {
//                    continue;
//                }
//                if (!((red<= 85) && (greed<= 100) && (blue<= 100))) {
//                    bi.setRGB(i, j, disColor .getRGB());
//                }
//            }
//        }
//        Iterator<ImageWriter> it = ImageIO.getImageWritersByFormatName("PNG");
//        ImageWriter writer = it.next();
//        File f = new File(filePath , fileName);
//        f.getParentFile().mkdirs();
//        ImageOutputStream ios = ImageIO.createImageOutputStream(f);
//        writer.setOutput(ios);
//        writer.write(bi);
//        bi.flush();
//        ios.flush();
//        ios.close();
//    }
//
//
//
//    /**
//     * 图片转Base64字符串
//     * @return
//     */
//    public static String convertImageToBase64Str(String filePath, String fileName) {
//        ByteArrayOutputStream baos = null;
//        try {
//            //获取图片类型
//            String suffix = fileName.substring(fileName.lastIndexOf(".") + 1);
//            //构建文件
//            File imageFile = new File(filePath,fileName);
//            //通过ImageIO把文件读取成BufferedImage对象
//            BufferedImage bufferedImage = ImageIO.read(imageFile);
//            //构建字节数组输出流
//            baos = new ByteArrayOutputStream();
//            //写入流
//            ImageIO.write(bufferedImage, suffix, baos);
//            //通过字节数组流获取字节数组
//            byte[] bytes = baos.toByteArray();
//            //获取JDK8里的编码器Base64.Encoder转为base64字符
//            return Base64.getEncoder().encodeToString(bytes);
//        } catch (Exception e) {
//            e.printStackTrace();
//        } finally {
//            try {
//                if (baos != null) {
//                    baos.close();
//                }
//            } catch (IOException e) {
//                e.printStackTrace();
//            }
//        }
//        return null;
//    }
//
//
//    /**
//     * Base64字符串转图片
//     * @param base64String
//     * @param imageFileName
//     */
//    public static void convertBase64StrToImage(String base64String, String imageFileName) {
//        ByteArrayInputStream bais = null;
//        try {
//            //获取图片类型
//            String suffix = imageFileName.substring(imageFileName.lastIndexOf(".") + 1);
//            //获取JDK8里的解码器Base64.Decoder,将base64字符串转为字节数组
//            byte[] bytes = Base64.getDecoder().decode(base64String);
//            //构建字节数组输入流
//            bais = new ByteArrayInputStream(bytes);
//            //通过ImageIO把字节数组输入流转为BufferedImage
//            BufferedImage bufferedImage = ImageIO.read(bais);
//            //构建文件
//            File imageFile = new File(imageFileName);
//            //写入生成文件
//            ImageIO.write(bufferedImage, suffix, imageFile);
//        } catch (Exception e) {
//            e.printStackTrace();
//        } finally {
//            try {
//                if (bais != null) {
//                    bais.close();
//                }
//            } catch (IOException e) {
//                e.printStackTrace();
//            }
//        }
//    }
//
//    public static String encode(String str) throws IOException {
//        return Base64.getEncoder().encodeToString(str.getBytes(StandardCharsets.UTF_8));
//    }
//
//    public static String decode(String str) throws IOException {
//        return new String(Base64.getDecoder().decode(str.getBytes(StandardCharsets.UTF_8)));
//    }
//}